import { Template } from '../database/database'
import Sequelize from 'sequelize'

export default {
    rand : async() => {
        return await Template.findOne({ attributes : ['template'], order: Sequelize.fn('RAND') })
    }
}